package czh.enums;

import lombok.Getter;

public enum ErrorCodeEnum {

    /**
     *整体的错误编码
     */
    NO_USER(301, "该用户不存在！"),
    ACCOUNT_PWD_ERROR(302,"账户密码错误"),
    TIME_FORMAT_NOT_SUPPORT(303, "暂不支持当前时间格式"),

    ILLEGAL_PARAM_ERROR(304, "非法入参异常");


    @Getter
    private final int code;

    @Getter
    private final String message;

    private ErrorCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }


}
